package com.example.demo.pojo;

import java.util.List;

import java.io.Serializable;

public class Movie implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -7725750235609571193L;

	private Integer id;

	private String mname;
	
	private Integer mlength;

	

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMname() {
		return mname;
	}

	public void setMname(String mname) {
		this.mname = mname;
	}

	public Movie() {

	}

	public Integer getMlength() {
		return mlength;
	}

	public void setMlength(Integer mlength) {
		this.mlength = mlength;
	}

	public Movie(Integer id, String mname, Integer mlength) {
		this.id = id;
		this.mname = mname;
		this.mlength = mlength;
	}

	@Override
	public String toString() {
		return "Movie [id=" + id + ", mname=" + mname + ", mlength=" + mlength + "]";
	}

	

}